Name | player completes advancement |
Event Lines | player completes advancement |
Triggers | when a player has completed all criteria in an advancement. |
Generated Examples | after player completes advancement: |
Has Player | Always. - this adds switches 'flagged:<flag name>' + 'permission:<node>', in addition to the '<player>' link. |
Switches | name:<name> to only fire if the advancement has the specified name. |
Contexts | <context.criteria> returns all the criteria present in this advancement.
<context.advancement> returns the completed advancement's minecraft ID key.
<context.message> returns an ElementTag of the advancement message (only on Paper).
|
Determine | ElementTag to change the advancement message (only on Paper).
"NO_MESSAGE" to hide the advancement message (only on Paper). |
Group | Player |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/events/player/PlayerCompletesAdvancementScriptEvent.java#L15 |